package com.guomao.generics;

import com.guomao.boundary.GenericA;
import com.guomao.boundary.GenericB;
import com.guomao.boundary.GenericC;

import java.util.ArrayList;
import java.util.List;

public class MyGenericE {


    public void testA(List<? extends GenericB> list) {

    }


    public void testB(List<? super GenericB> list) {

    }


    public static void main(String[] args) {

        List<GenericA> list1 = new ArrayList<GenericA>();
        List<GenericB> list2 = new ArrayList<GenericB>();
        List<GenericC> list3 = new ArrayList<GenericC>();

        MyGenericE e = new MyGenericE();


//        var i =100;

//        e.testA(list1);
//        e.testA(list2);
//        e.testA(list3);

        int x = 10;
        int y = 0;
        System.out.println(x / y);

    }
}
